package 面向对象初级.封装.封装的实现;

public class BookTest {
    public static void main(String[] args) {
        Book book1= new Book();
        Book book = new Book("好吗？好的", "大冰", "人民出版社", 45.9);
        book.setBookName("好吗？好的");
        book.setAuthor("大冰");
        book.setPrice(34.9);
        book.setPublisher("人民出版社");

        System.out.println(book);
    }
}
